// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import Axios from 'axios'
import VueSource from 'vue-resource'
import './assets/styles/reset.css'
// 1px像素物理边框的实现
import './assets/styles/border.css'
import './assets/styles/iconfont.css'
import 'font-awesome/css/font-awesome.css'
import {setCookie,getCookie,delCookie} from './assets/js/cookie.js'
// import './assets/bootstrap/css/bootstrap.css'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueSource)
Vue.prototype.$axios=Axios
Axios.defaults.baseURL ='http://127.0.0.1:80'
/* eslint-disable no-new */
Vue.prototype.$cookieStore = {
	setCookie,
	getCookie,
	delCookie
}

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
